package com.fourgirls.xiaoxiang.dao.ShoppingCartDao;

import com.fourgirls.xiaoxiang.pojo.Shopping.UserNameShoppingVo;
import com.fourgirls.xiaoxiang.pojo.Shopping.UserShoppingVo;
import com.fourgirls.xiaoxiang.pojo.ShoppingCart.UserNameShoppingCartVo;
import com.fourgirls.xiaoxiang.pojo.ShoppingCart.UserShoppingCartVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserShoppingCartMapper {
    /**
     * 进行级联，将user表和shoppingcart表中的数据一一对应查询起来
     * @return
     */
    public List<UserShoppingCartVo> findAllUserShoppingCart(UserNameShoppingCartVo userNameShoppingCartVo);
}
